package com.masterclient.app.businessmodule.settingmodule.bankcard.bean;

import com.contrarywind.interfaces.IPickerViewData;
import com.google.gson.annotations.SerializedName;

import java.io.Serializable;
import java.util.List;

public class NewBankBean implements Serializable{
    @SerializedName("banks")
    public List<BankItemBean> banks;

    public class BankItemBean implements Serializable, IPickerViewData {
        @SerializedName("bank_id")
        public String bankId;
        @SerializedName("code")
        public String code;
        @SerializedName("full_name")
        public String fullName;
        @SerializedName("short_name")
        public String shortName;

        @Override
        public String getPickerViewText() {
            return shortName;
        }
    }
}
